#ifndef NETRADIO_H
#define NETRADIO_H

#include <QDialog>
#include <QProcess>
#include <QString>
#include <QTime>
#include <QTimer>
#include <string>
#include <stdio.h>

namespace Ui {
class NetRadio;
}

class NetRadio : public QDialog
{
    Q_OBJECT
    
public:
    explicit NetRadio(QWidget *parent = 0);
    ~NetRadio();
    
private slots:
    void updata_time();
    void PrevButton_clicked();
    void NextButton_clicked();
    void back_message_slot();
    void StartButton_clicked();

private:
    Ui::NetRadio *ui;

    int curchn;
    int flag;
    char input[5];
    QPixmap *pic;
    QPixmap *ads;
    QPixmap *pixstart;
    QPixmap *pixstop;
    QPixmap *pixp;
    QPixmap *pixn;
    QProcess *process;
    QTime *time;
    QTimer *timer;
    QString *TimeString;
};

#endif // NETRADIO_H
